package cn.iocoder.yudao.module.agri.controller.admin.farmplan.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 种养批次 Excel 导出 Request VO，参数和 FarmPlanPageReqVO 是一致的")
@Data
public class FarmPlanExportReqVO {

    @Schema(description = "自增编号", example = "14357")
    private Long id;

    @Schema(description = "作物")
    private String crop;

    @Schema(description = "基地")
    private String farmBase;

    @Schema(description = "地块")
    private String farmLand;

    @Schema(description = "开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] beginDate;

    @Schema(description = "预计产期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] harvestDate;

    @Schema(description = "种养批次")
    private String batchNo;

    @Schema(description = "种养模型")
    private Long farmModel;

    @Schema(description = "安全标准")
    private Integer standard;

    @Schema(description = "状态", example = "1")
    private Integer status;

}
